package top.hzy520.log.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.hzy520.log.entity.SysLoginLog;

import java.util.List;

@Mapper
public interface SysLoginLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysLoginLog record);

    int insertSelective(SysLoginLog record);

    SysLoginLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysLoginLog record);

    int updateByPrimaryKey(SysLoginLog record);

    int queryLoginLogAllCount();

    List<SysLoginLog> paginationQueryLoginLog(@Param("offset") int offset, @Param("limit") int limit);

    void deleteLoginLog(@Param("loginLogList") List<SysLoginLog> loginLogList);
}